home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 34.zip
/
BS1 part 34
/
FredFish PD 319.adf
/
CNewsSrc
/
cnews.src.lzh
/
libcnews
/
nemalloc.c
< prev
next >
Wrap
C/C++ Source or Header
|
1989-07-03
|
261b
|
15 lines
#include <stdio.h>
#include <sys/types.h>
#include "libc.h"
char *
nemalloc(size) /* news emalloc - calls errunlock on error */
unsigned size;
{
register char *result = malloc(size);
if (result == NULL)
errunlock("out of memory", "");
return result;
}